package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.business.entity.AgentEntity;
import com.zlkj.pro.modular.business.model.dto.AgentDTO;
import com.zlkj.pro.modular.business.model.vo.AgentVO;

import java.util.List;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface AgentService extends IService<AgentEntity> {

    PageResult<AgentVO> findPage(AgentDTO dto);

    List<AgentVO> findList(AgentDTO dto);

    AgentVO findDetail(AgentDTO dto);

    boolean add(AgentDTO dto);

    boolean edit(AgentDTO dto);

    boolean delete(AgentDTO dto);

    boolean batchDelete(List<Long> ids);
}
